<?php
		if($_POST['sh_hidden'] == 'sent') {
			//process the Facebook fields
			update_option($facebook_name_values['url'], $facebook_post_values['url']);
			update_option($facebook_name_values['url-enabled'], $facebook_post_values['url-enabled']);
			update_option($facebook_name_values['description'], $facebook_post_values['description']);
			update_option($facebook_name_values['widget-enabled'], $facebook_post_values['widget-enabled']);
			update_option($facebook_name_values['widget-url'], $facebook_post_values['widget-url']);
			update_option($facebook_name_values['widget-color'], $facebook_post_values['widget-color']);
			update_option($facebook_name_values['widget-width'], $facebook_post_values['widget-width']);
			update_option($facebook_name_values['widget-header'], $facebook_post_values['widget-header']);
			update_option($facebook_name_values['widget-stream'], $facebook_post_values['widget-stream']);
			update_option($facebook_name_values['widget-faces'], $facebook_post_values['widget-faces']);
			
			//process the Twitter fields
			update_option($twitter_name_values['url'], $twitter_post_values['url']);
			update_option($twitter_name_values['url-enabled'], $twitter_post_values['url-enabled']);
			update_option($twitter_name_values['description'], $twitter_post_values['description']);
			update_option($twitter_name_values['widget-enabled'], $twitter_post_values['widget-enabled']);
			update_option($twitter_name_values['widget-url'], $twitter_post_values['widget-url']);
			update_option($twitter_name_values['widget-width'], $twitter_post_values['widget-width']);
			update_option($twitter_name_values['widget-height'], $twitter_post_values['widget-height']);
			update_option($twitter_name_values['widget-shell-bg'], $twitter_post_values['widget-shell-bg']);
			update_option($twitter_name_values['widget-shell-txtcolor'], $twitter_post_values['widget-shell-txtcolor']);
			update_option($twitter_name_values['widget-tweet-bg'], $twitter_post_values['widget-tweet-bg']);
			update_option($twitter_name_values['widget-tweet-color'], $twitter_post_values['widget-tweet-color']);
			update_option($twitter_name_values['widget-tweet-linkColor'], $twitter_post_values['widget-tweet-linkColor']);
			
			//process the LinkedIn fields
			update_option($linkedin_name_values['url'], $linkedin_post_values['url']);
			update_option($linkedin_name_values['url-enabled'], $linkedin_post_values['url-enabled']);
			update_option($linkedin_name_values['description'], $linkedin_post_values['description']);
			
			//process the YouYube fields
			update_option($youtube_name_values['url'], $youtube_post_values['url']);
			update_option($youtube_name_values['url-enabled'], $youtube_post_values['url-enabled']);
			update_option($youtube_name_values['description'], $youtube_post_values['description']);
			
			//process the Google fields
			update_option($google_name_values['url'], $google_post_values['url']);
			update_option($google_name_values['url-enabled'], $google_post_values['url-enabled']);
			update_option($google_name_values['description'], $google_post_values['description']);
			
			//process the Yelp fields
			update_option($yelp_name_values['url'], $yelp_post_values['url']);
			update_option($yelp_name_values['url-enabled'], $yelp_post_values['url-enabled']);
			update_option($yelp_name_values['description'], $yelp_post_values['description']);
			
			include('sh_global_variables.php'); 
			?> 
			
			<div class="updated successful">
				<p>Options Updated <span class="close">x</span></p>
			</div> 
		<?php }